package com.yangye.otherdemo.mythreadpoolexecutor;

/**
 * @author yangye
 * @date 2020/08/18
 */
public class DefaultPolicyHandler implements PolicyHandler{
	@Override
	public void reject(Runnable task, YangyeThreadPoolExecutor executor) {
		throw new RuntimeException("不能继续添加任务");
	}
}
